package speed;

public class ArrayMax {
	public static void main(String[] args) {
		int arr[]= {1,23,4,5,-1,-34,99};
		int Max = arr[0];
		for(int j1 = 0;j1<arr.length;j1++) {
			if(Max<arr[j1]) {
				Max = arr[j1];
			}
		}
		System.out.println(Max+"是最大的数");
	}

}
